package com.kzw.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * 课程
 */
public class Course {

	private Integer id;
	// 名称
	private String name;
	// 教师
	private Teacher teacher;
	// 成绩
	private Set<Score> scores = new HashSet<Score>();

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Teacher getTeacher() {
		return teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Set<Score> getScores() {
		return scores;
	}

	public void setScores(Set<Score> scores) {
		this.scores = scores;
	}
}
